package cn.lanqiao.system.mapper;

import cn.lanqiao.common.entity.Arrangement;
import cn.lanqiao.common.vo.ArrangementVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArrangementMapper{
    int deleteByPrimaryKey(Integer id);

    int insert(Arrangement record);

    int insertSelective(Arrangement record);

    Arrangement selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Arrangement record);

    int updateByPrimaryKey(Arrangement record);
    //查询某个电影的所有拍片
    ArrangementVO findByFilmId(Integer filmId);
    //查询所有拍片
    List<Arrangement> getAll();
}
